//调用接口配置文件
import { request } from 'config/request'
// import config from '../../../config/config'

//作废接口
export async function deleteContent (params) {
    return request({
      url: `admin/commissionRule/RuleInvalid`,
      method: 'POST',
      data: params,
      headers: {
        'Content-type': 'application/json',
      }
    })
  }

  //导出
export async function down(params) {
  return request({
      url: `admin/commissionRule/listDetailExport`,
      method: 'POST',
      data: params,
  });
};

//复制方案
export async function copeContent(params) {
  return request({
      url: `admin/commissionRule/copyRule`,
      method: 'POST',
      data: params,
  });
};

//撤回
export async function recall(params) {
  return request({
      url: `admin/commissionRule/backC3Rule`,
      method: 'POST',
      data: params,
  });
};

//提交审核
export async function submit(params) {
  return request({
      url: `admin/commissionRule/SubmitRuleC3`,
      method: 'POST',
      data: params,
  });
};








